<?php 
/**
 * 数据库资源配置
 *
 @example      E:\www\emvc\htdocs\config\db_config.php
 * @copyright	http://www.easymvc.com
 * @author 		光哥  <439884988@qq.com>
 * @version		1.0 - 2012-03-26
 * @package		Config
 *
 */

return array(
	'PdoMysql' => array(
		'easymvc' => array(
			0 => array(     //read
				'host' => '127.0.0.1,127.0.0.1', 
				'port' => 3306, 
				'name' => 'easymvc', 
				'user' => 'root', 
				'pass' => 123456,
			),
			1  => array(   //write
				'host' => '127.0.0.1', 
				'port' => 3306, 
				'name' => 'easymvc', 
				'user' => 'root', 
				'pass' => 123456,
			),
		),
	),
	'Mysql' => array(
				'easymvc' => array(
						0 => array(     //read
								'host' => '127.0.0.1,127.0.0.1',
								'port' => 3306,
								'name' => 'easymvc',
								'user' => 'root',
								'pass' => 123456,
						),
						1  => array(   //write
								'host' => '127.0.0.1',
								'port' => 3306,
								'name' => 'easymvc',
								'user' => 'root',
								'pass' => 123456,
						),
				),
		),
);